import Vue from 'vue';
import Router from 'vue-router';
import Home from '../home/index.vue';
import Classify from '../components/classify/Classify.vue';

Vue.use(Router);

export default new Router({
    routes: [{ 
        path :'/' , 
        redirect:'/home' 
    }, { 
        path: '/home',
        name: 'home', 
        component: Home
    }, { 
        path: '/classify',
        name: 'classify', 
        component: Classify
    }]
})